package com.think.teaching.service;

import com.think.teaching.model.CourseComment;


import java.util.List;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 课程评论 服务类
 * </p>
 *
 * @author think
 * @since 2020-08-12
 */
@Service
public interface CourseCommentService extends IService<CourseComment> {

	CourseComment AddCourseComment(CourseComment courseComment);

	CourseComment UpdateCourseComment(CourseComment courseComment);

	CourseComment GetCourseComment(Integer id);

	List<CourseComment> SearchCourseCommentsWithTag(String key ,Boolean withoutBan);
	
	CourseComment SetCourseCommentState(Integer id, Integer state);
}
